package com.cosyhut.blocks.factory;

public class Material {
	protected String _name;
	protected float _density;
	protected float _mu;

    protected Material(String name, float density, float mu) {
    	this._name = name;
    	this._density = density;
    	this._mu = mu;
    }
    
    public float getDensty() {
    	return this._density;
    }
    
    public static final Material Plastic = new Material("Plastic", 1.5f, 0.1f);
    public static final Material Steel = new Material("Steel", 7.715f, 0.1f);
    public static final Material Rubber = new Material("Rubber", 1.506f, 0.1f);
	//--------------------------------------------------------------------------
	public float getDensity() {
		return this._density;
	}
}
